package com.itheima.mapper;

import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrderMapper {

    @Select("select * from tb_order where username = #{username} and is_delete = 0")
    List<Order> findOrderByUserName(@Param("username")String username);
}
